wayland: Fix gdk_window_wayland_resize_cairo_surface()
authorRui Matos <tiagomatos@gmail.com>
Sat, 22 Feb 2014 18:10:59 +0000 (19:10 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 23 Feb 2014 17:40:29 +0000 (18:40 +0100)
commit6ea4bf8a9d60ab22e2ddf84243b629791ef59c4d
tree6e34026848f592b7fb1917d4ddbaf01cf06788dd
parenta3518a4d66e7a256153c733c90910d38a20bd91f
wayland: Fix gdk_window_wayland_resize_cairo_surface()

Like in other backends (except X) we can't resize cairo image surfaces
so let's sync the code here with what the other backends do.

This prevents the painting machinery above us to paint on the wrong
buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=724968
gdk/wayland/gdkwindow-wayland.c